class SpaceAge {

    private static final int a_day = 86400;
    private static final double earth_day = 365.25;
    private static final double mercury = 0.2408467;
    private static final double venus = 0.61519726;
    private static final double mars = 1.8808158;
    private static final double jupiter = 11.862615;
    private static final double saturn = 29.447498;
    private static final double uranus = 84.016846;
    private static final double neptune = 164.79132;
    private double seconds;


    SpaceAge(double seconds) {
        this.seconds = seconds;
    }

    double getSeconds() {
        return this.seconds;
    }

    double onEarth() {
        return this.seconds / a_day / earth_day;
    }

    double onMercury() {
        return this.onEarth() / mercury;
    }

    double onVenus() {
        return this.onEarth() / venus;
    }

    double onMars() {
        return this.onEarth() / mars;
    }

    double onJupiter() {
        return this.onEarth() / jupiter;
    }

    double onSaturn() {
        return this.onEarth() / saturn;
    }

    double onUranus() {
        return this.onEarth() / uranus;
    }

    double onNeptune() {
        return this.onEarth() / neptune;
    }

}
